import { ApiProperty } from '@midwayjs/swagger'

import { BaseVO } from './base.vo'

/**
 * 字典数据结果
 */
export class DictDataVO extends BaseVO implements ISysDictDataEntity {
  @ApiProperty({ description: '字典编码' })
  dictCode: string

  @ApiProperty({ description: '字典排序' })
  dictSort: number

  @ApiProperty({ description: '字典标签' })
  dictLabel: string

  @ApiProperty({ description: '字典键值' })
  dictValue: string

  @ApiProperty({ description: '字典类型' })
  dictType: string

  @ApiProperty({ description: '是否默认' })
  isDefault: string

  @ApiProperty({ description: '状态' })
  status: string

  @ApiProperty({ description: '备注' })
  remark: string
}
